<!DOCTYPE html>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" >
<meta name="renderer" content="webkit" />
<title>登录</title>
<script type="text/javascript">

</script>

<link href="https://hwid1.vmallres.com/CAS/up/rss_5/../common/images/default/hwfavicon.ico" type="image/x-icon" rel="shortcut icon" />
<link href="{{ asset('/ho/css/ec.core.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/ho/css/common.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/ho/css/zh-cn_css.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/ho/css/dialog.css') }}" rel="stylesheet" type="text/css">
<script type="text/javascript">var localHttps="https://hwid1.vmall.com/CAS";var currentSiteID="1";</script>
<script src="{{ asset('/ho/js/jsapi.js') }}" namespace="ec"></script>
<script src="{{ asset('/ho/js/jquery-1.8.2.min.js') }}" id=jsid></script>
<script src="{{ asset('/ho/js/ec.core.js') }}"></script>
<script src="{{ asset('/ho/js/casui.js') }}"></script>
<script src="{{ asset('/ho/js/ec.business.js') }}"></script>
<script src="{{ asset('/ho/js/commonjs.js') }}"></script>

<link rel="stylesheet" type="text/css" href="{{ url('/ho/css/dialog.css') }}" />
</head>
<body class="login">
<div id="cookies_privacy" class="center cookie hidden">
    本站点使用cookies,继续浏览表示您同意我们使用cookies。
    <a class="cookie-pro" href="#">Cookies和隐私政策></a>
    <img src="{{ url('/ho/picture/cookie-close.png') }}"/>
</div>

<div class="g">

        <!-- 头部  -->
<div class="customer-header">
    <div class="head_center">
        <div class="main-logo">
            <img src="{{ url('/ho/picture/huaweilogo.png') }}">
        </div>
        <div class="website-name"  style="color:#999;">
            <span class="logo_line"></span>
            <b style="font-size: 25px;margin-top:20px;float: left;">|</b>
            <b style="font-size: 23px;margin-top:22px;float: left; margin-left:3px;">华为商城</b>
        </div>
    </div>
</div>
    <!--登录 -->
    <div >
    <div style="background-image: url(/ho/images/bg11.jpg') ;" class="login_bg_pic">
    </div>
    <form action="{{asset('home/doenter')}}" method="post">
            {{ csrf_field()}}
         <div class="login-area login-right">
       <div class="h">
            <h3 class="login-area-marginTop"><span class="loginTitle">欢迎登录华为帐号</span></h3>
        </div>
        @if(session('info'))
            <div style = "width:200px;height:60px;background:yellow;line-height: 60px;font-size:30px;"
                 id="info">
                {{ session('info') }}
            </div>
        @endif
        <div class="b">
            <div class="login-form-marginTop">
                <div class="form-edit-area">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tbody>
                        <form action="{{ asset('/home/login/dologin') }}" method="post" accept-charset="utf-8">
                        {{ csrf_field() }}
                            <tr>
                                <td><input type="text" autocomplete="off"  class="text vam" id="login_userName" name="phone" maxlength="50" tabindex="1" /><div id="msg_username"></div></td>
                            </tr>
                            <tr>
                                <td><input id="login_password" type="password" autocomplete="off"  class="text vam" name="password" maxlength="32" tabindex="2" /><div id="msg_password"></div></td>
                            </tr>
                            <tr>
                                <td class="verify-td">
                                    <table>
                                        <tr>
                                            <td>
                                                <input type="text" name="captcha" class="form-control" style="width: 100px;height:34px">&nbsp;&nbsp;
                                            </td>
                                            <td>
                                                <a onclick="javascript:re_captcha();" ><img src="{{ URL('/home/captcha/1') }}"  alt="验证码" title="刷新图片" width="100" height="34" id="c2c98f0de5a04167a9e427d883690ff6" border="0"></a>
                                            </td>

                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td class="mt-checkbox">
                                    <input type="checkbox" class="checkbox vam" id="remember_name" name="remember_name" tabindex="4" /><label class="vam" for="remember_name">记住帐号</label>&nbsp;&nbsp;&nbsp;&nbsp;
                                    <a class="forgot vam" href="javascript:void(0)" onclick="gotoresetpwd()" title="忘记密码？"> 忘记密码？</a>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div style="border-bottom:1px solid #d7d7d7;margin-bottom:20px"></div>
                                    <div style="margin-bottom:0px;"><span class="vam error" id="login_msg"  style="margin-bottom:5px;display:block"></span></div>
                                    <input type="submit" style="width:280px;" class="button-login" id="btnLogin" value="登录" tabindex="5" /><div id="msg_login"></div>&nbsp;&nbsp;
                                    <img class="load" src="picture/loading3.gif" />
                                </td>
                            </tr>
                        </form>
                        </tbody>
                    </table>
                </div>
            </div>

                <p class="login-tips inptips4" style="margin-top:-10px">

                      <span class="third_login">或者登录通过：</span>

                    <span class='qqLogin_bigIco' title="QQ" onclick='thirdAccountBind(this)'><a href="javascript:void(0);" toUrl='/qq/authorize'><s></s></a></span><span class='alipayLogin_bigIco' title="支付宝" onclick='thirdAccountBind(this)'><a href="javascript:void(0);" toUrl='/alipay/authorize'><s></s></a></span><span class='weixinLogin_bigIco' title="微信" onclick='thirdAccountBind(this)'><a href="javascript:void(0);" toUrl='/weixin/authorize'><s></s></a></span>
                </p>
                <p class="login-tips" style="margin-top:30px">
                    您还没有华为帐号吧？
                    &nbsp;&nbsp;<a href="https://hwid1.vmall.com/CAS/portal/userRegister/regbyphone.html?reqClientType=26&loginChannel=26000000&countryCode=cn&loginUrl=https%3A%2F%2Fhwid1.vmall.com%2FCAS%2Fportal%2Flogin.html&service=http%3A%2F%2Fwww.vmall.com%2Faccount%2Facaslogin%3Furl%3Dhttp%253A%252F%252Fwww.vmall.com%252F&lang=zh-cn&themeName=red" title="免费注册">免费注册</a>
                </p>

            <p class="login-tips inptips4">
                华为帐号是您用于访问所有华为服务的帐号。使用华为帐号登录后，您将可以使用云服务、华为商城、花粉俱乐部、应用市场、EMUI产品、华为网盘和开发者联盟。
            </p>

        </div>
        </div>
    </form>
    </div>
</div>
<div class="login-foot">
<!-- 底部  -->

    <div class="wp ft">
        <p>
            <a href="https://hwid1.vmall.com/CAS/portal/agreements/userPrivacyPolicy/zh-cn_userPrivacyPolicy.html?version=europe" class="rule" target="_blank">华为隐私政策</a>
            <a href="https://hwid1.vmall.com/CAS/portal/agreements/EULA/zh-cn_EULA.html?version=china" class="rule" target="_blank">最终用户许可协议</a>
            <em class="foot_em">|</em>
            <a href="https://hwid1.vmall.com/CAS/portal/faq/faq.html" class="ifaq" target="_blank">常见问题</a>
        </p>
            <p>Copyright©2011-2016    华为技术有限公司   版权所有   保留一切权利</p>
            <p>苏B2-20070200号           |           苏ICP备09062682号-9</p>
    </div>
</div>
<div id="layer">
    <div class="mc"></div>
</div>

<div id="selectCountryCodeDiv">

</div>
<div class="loginmask">
        <div>
            <span>登录中...</span>
        </div>
</div>

</body>
<script type="text/javascript">
    var rss={
            login_js_inputaccount : "请输入您的帐号",
            login_js_accountlimit :"帐号必须是邮件地址或手机号",
            login_js_accountlength :"华为帐号限制在5~50 个字符",
            common_js_inputpwd :"请输入您的密码",
            common_js_pwdlimit :"密码长度为8~32个字符",
            common_js_inputcode :"请输入验证码",
            login_js_codeerror :"验证码错误",
            common_js_ignorecase :"不区分大小写",
            login_js_hwaccount :"手机号/邮件地址",
            login_js_password :"密码",
            login_wrong:"用户名或密码错误",
            risk_auth:"检测到您帐号存在安全风险，请选择验证方式后获取验证码进行验证。",
            risk_motify_pwd:"您帐号的密码过于简单或存在安全风险，请立即修改密码。密码由8-32位字符组成，需至少包含一个大写字母、一个小写字母和一个数字，建议不与其他密码相同。如有其他设备使用此帐号，修改密码后需重新登录，才能正常使用华为服务。",
            login_user_pwd_error_exceed:"您登录错误次数过多，请稍后重试..",
            common_js_wrongcode:"验证码错误",

            IGetIt: "确定",
            hint: "提示",
            loginOverdue: "当前页面已过期，请刷新当前页面后重试。",
            overload:"系统繁忙，请稍后再试！",
            authcode_name: "验证码：",
            more_details: "更多详情",
            agree_date: "同意日期：",
            user_agreement: "用户协议",
            next_step: "下一步",
            unverified_email_addr: "邮件地址未验证",
            email_has_sendto: "验证邮件已经发送至{0}请登录邮箱检查收件箱或垃圾箱是否收到验证邮件，并按照邮件说明完成邮件地址验证。",
            rummageEmail: "null",
            resend: "重新获取",
            resend_time: "重新获取（{0}）",
            resend_email: "重新发送",
            getAuthCode: "获取验证码",
            exit: "取消",
            cancel: "取消",
            verify: "验证",
            verified: "已验证",
            verification_not_completed: "验证未完成。请登录邮箱检查收件箱或垃圾箱是否收到验证邮件，并且按照邮件说明完成验证。",
            account_protect_tip: "帐号保护",

            get_activate_email_URL_Error: "发送激活邮件失败。",
            btn_auth:"验证",
            cancel_btn:"取消",
            global_cross_site_login:"您之前同意的隐私政策与当前国家的可能有细微差异。同意当前国家/地区的<a class='globalCrossPrivacyPolicy' id='globalCrossPrivacyPolicy' target='_blank'>隐私政策</a>后，继续登录。",
            global_cross_page_redirect:"当前网站不支持该帐号登录，将跳转到帐号注册国家/地区对应的网站登录。",
            uc_common_agree:"同意",
            uc_common_no_agree:"不同意",

            //authDialog.js
            verifyLoginPwd: "验证登录密码",
            inputLingPwd: "请输入密码",
            sendAuthCode: "获取验证码",
            rememberBrowser: "记住此浏览器",
            rememberBrowserTip: "下次登录无需验证身份。清除Cookies可删除此设置。",
            huaweiAccount: "华为帐号：",
            huaweiAccount_colon_space: "华为帐号：&nbsp;",
            getAuthCodeError: "获取验证码失败",
            authCodeLength: "验证码错误",
            verifyPwdError: "密码验证失败",
            inputAuthCodeTip: "请输入验证码",
            authentication: "验证身份",
            emialHasSendTo: "验证码邮件已经发送至  <em class='userAccount'>{0}</em>, 请登录邮箱检查收件箱或垃圾箱是否收到验证邮件",
            phoneMegHasSendTo: "验证码短信已经发送至<div class=\"nophonewrap\">{0}</div>",
            getAuthCodeAgain: "重新获取",
            authCodeError: "验证码错误",
            autoCodeSuccess: "验证码正确",
            randomCodeIsInvalid:"验证码已失效",
            prompt:"提示",
            iKnowBtn:"确定",
            noSupportService:"当前网站的服务范围与您输入的帐号不匹配，系统无法为您提供服务，敬请谅解。",
            uc_common_get_auth_email_error:"获取验证邮件失败",

            password:"密码：",
            confirmPwdTips:"确认密码：",

            changePwd: "修改密码",
            newPwd: "新密码",
            confirmPwd: "再次输入新密码",
            pwdInputTip: "密码由8-32位字符组成，需至少包含一个大写字母、一个小写字母和一个数字，建议不与其他密码相同",
            ok: "确定",
            common_js_pwdnotsame: "密码与确认密码不一致",
            common_js_confirmpwd: "确认密码：",
            updatePwdError: "修改密码失败",
            uc_common_second_protect:"您已开启“帐号保护”功能，请验证身份后完成登录。",
            smsAuthCode:"短信验证码",
            emailAuthCode:"邮件验证码",
            uc_useragreement_update:"用户协议更新",


            error_70001201: "系统繁忙，请稍后再试！",
            error_70008001: "不可是常见密码或弱密码",
            error_70002020: "新旧密码不能相同",
            error_70002003_1: "旧密码输入错误",
            error_70002016_2: "修改密码后，删除业务Token失败",
            error_70002057_2: "你的密码错误次数过多、请确认后再试",
            error_70002058_1: "密码错误次数过多，请明天再试",
            error_70001102_2: "获取验证邮件次数较为频繁，1小时后可重试。",

            error_70002003: "帐号或者密码错误",
            error_10000001: "系统繁忙，请稍后再试！",
            error_10000001_1: "获取验证码失败，请稍后再试!",
            error_10000001_2: "密码错误",
            error_10000001_3: "请输入正确的帐号！",
            error_10000002: "不提供服务!",
            error_10000004: "非法操作!",
            error_70001401: "系统内部错误",
            error_70002001: "用户不存在",
            error_70002028: "用户没有传入的手机号",
            error_70002046: "手机号已经激活",
            error_70002030: "短信验证码发送失败",
            error_70001101: "没有权限执行此操作",
            error_70001102_0: "获取验证码邮件次数较为频繁，请检查收件箱或垃圾箱是否收到验证邮件，1小时后可重试。",
            error_70001102_1: "获取验证码短信次数较为频繁， 1小时后可重试。",
            error_70001104_0: "获取验证码邮件次数过于频繁，请检查收件箱或垃圾箱是否收到验证邮件，24小时后可重试。",
            error_70001104_1: "获取验证码短信次数过于频繁， 24小时后可重试",
            error_70001104_3:"获取验证邮件次数过于频繁，请检查收件箱或垃圾箱是否收到验证邮件，24小时后可重试。",
            error_70006007_0: "使用该安全邮件地址的华为帐号数量已达上限",
            error_70006007_1: "使用该安全手机号的华为帐号数量已达上限",
            error_70002055: "用户帐号不存在",
            error_70006006: "帐号不被支持",
            error_70002002: "帐号已存在",
            error_70002070: "密码复杂度过低",
            error_70002057_0: "验证码已连续错误超过三次",
            error_70002057_1: "输入的验证码错误次数过多",
            error_70002058: "输入的验证码错误次数过多，请明天再试",
            error_70002039: "验证码不存在或已过期",
            error_70002073: "用户必须保留一个手机帐号或邮箱帐号",
            error_70002043: "用户关闭手机找回密码后，不能删除仅有的一个邮箱或者安全邮箱",
            error_70002053: "待删除的帐号信息不存在",
            error_70002016: "删除安全邮箱帐号失败",
            error_70002016_1: "变更帐号后，删除业务Token失败",
            error_70001201_0: "帐号和类型不匹配",
            error_70001201_1: "验证码错误",
            error_70001201_2: "请稍后再试！",
            error_70002018: "发送激活邮件失败。",
            error_70002019: "邮箱帐号已经激活。",
            error_70002008: "用户没有传入email",
            error_70002009: "帐号未激活",
            error_70002058:"登录错误次数过多,请明天再试"
    };

    var localInfo={
            thirdLoginUrlAddrass:"https://hwid1.vmall.com/CAS",
            authCodeValidate:"",
            webssoLoginSessionCode:"picture/cc69ba4134cb4fe3afa0832180f6445f.gif",
            findPwd:"https://hwid1.vmall.com/CAS/portal/resetPwd/forgetbyid.html" ,
            submit:"true",
            loginUrl:"https://hwid1.vmall.com/CAS/portal/login.html",
            service:"http://www.vmall.com/account/acaslogin?url=http%3A%2F%2Fwww.vmall.com%2F",
            loginChannel:"26000000",
            reqClientType:"26",
            adUrl:"",
            lang:"zh-cn",
            inviterUserID:"",
            inviter:"",
            userID:"",
            pageToken:"bfb8UexG7p8iF4hy8FuvhAur2B8KrpPK",
            emailPng:"https://hwid1.vmallres.com/CAS/up/rss_5/css/portal/register_rss/red/images/email-imp.png?20161015",
            cookiePrivacyPolicyUrl:"https://hwid1.vmall.com/CAS/portal/agreements/cookiePrivacyPolicy/zh-cn_cookiePrivacyPolicy.html",
            bgImgUrl:"images/bg11.jpg",
            currentSiteID:"1",
            quickAuth:"false",
            newsign:"",
            cookiePrivateAgreement:"false",
            globalCrossPrivacyPolicy:"https://hwid1.vmall.com/CAS/portal/agreements/userPrivacyPolicy/zh-cn_userPrivacyPolicy.html?version=europe",
            queryString:"?reqClientType=26&loginChannel=26000000&countryCode=cn&loginUrl=https%3A%2F%2Fhwid1.vmall.com%2FCAS%2Fportal%2Flogin.html&service=http%3A%2F%2Fwww.vmall.com%2Faccount%2Facaslogin%3Furl%3Dhttp%253A%252F%252Fwww.vmall.com%252F&lang=zh-cn&themeName=red",
            requestURIQuery:"/CAS/portal/login.html?reqClientType=26&loginChannel=26000000&countryCode=cn&loginUrl=https%3A%2F%2Fhwid1.vmall.com%2FCAS%2Fportal%2Flogin.html&service=http%3A%2F%2Fwww.vmall.com%2Faccount%2Facaslogin%3Furl%3Dhttp%253A%252F%252Fwww.vmall.com%252F&lang=zh-cn&themeName=red",
            accountSiteID:"1",
            rememberAccount: "18210264609"
    };


</script>
<script>
    function gotoresetpwd()
    {
        window.open(localInfo.findPwd+ "?reqClientType=26&loginChannel=26000000&countryCode=cn&loginUrl=https%3A%2F%2Fhwid1.vmall.com%2FCAS%2Fportal%2Flogin.html&service=http%3A%2F%2Fwww.vmall.com%2Faccount%2Facaslogin%3Furl%3Dhttp%253A%252F%252Fwww.vmall.com%252F&lang=zh-cn&themeName=red");
    }

    function thirdAccountLogin(obj)
    {
      var hrefObj=$("."+obj.className+" a");
      var a=localInfo.thirdLoginUrlAddrass;
      var b=hrefObj.attr("toUrl");
/*    var toUrl=a+b
           + "?loginUrl=" + encodeURIComponent(localInfo.loginUrl)
           + "&service=" + encodeURIComponent(localInfo.service)
           + "&loginChannel=" + localInfo.loginChannel
           + "&reqClientType=" + localInfo.reqClientType
           + "&quickAuth=" + localInfo.quickAuth
           + "&lang=" + localInfo.lang; */
      var toUrl= a + b + localInfo.queryString;
        hrefObj.attr("href",toUrl);
    }

    function thirdAccountBind(obj)
    {
      var hrefObj=$("."+obj.className+" a");
      var a=localInfo.thirdLoginUrlAddrass;
      var b=hrefObj.attr("toUrl");
/*    var toUrl=a+b
           + "?loginUrl=" + encodeURIComponent(localInfo.loginUrl)
           + "&service=" + encodeURIComponent(localInfo.service)
           + "&loginChannel=" + localInfo.loginChannel
           + "&reqClientType=" + localInfo.reqClientType
           + "&quickAuth=" + localInfo.quickAuth
           + "&lang=" + localInfo.lang; */
       var toUrl= a + b + localInfo.queryString;
        hrefObj.attr("href",toUrl);
    }

</script>
<script>
  function re_captcha() {
    $url = "{{ URL('/home/captcha') }}";
        $url = $url + "/" + Math.random();
        document.getElementById('c2c98f0de5a04167a9e427d883690ff6').src=$url;
  }
</script>
<script type="text/javascript">
    window.onload = function () {
            setInterval(function () {
                $('#info').slideUp(1000);
            }, 3000)
</script>
<script src="{{ asset('/ho/js/uc_base.js') }}"></script>
<script src="{{ asset('/ho/js/casui.js') }}"></script>
<script src="{{ asset('/ho/js/authdialog.js') }}"></script>
<script src="{{ asset('/ho/js/login.js') }}"></script>

</html>